package com.mrobuy.jdvc.service;


import com.mrobuy.jdvc.entity.VCItemExtPropValue;
import com.mrobuy.jdvc.entity.VCItemPropValue;

import java.util.List;
import java.util.Map;

public interface ItemAttrService {

    String getAttrValue(String value, Map<String, String> attrs);

    String getAttrValue(String value, Map<String, String> attrs,  List<VCItemPropValue> propValues, List<VCItemExtPropValue> extPropValues);

    List<VCItemPropValue> loadPropValues(String code);

    List<VCItemExtPropValue> loadExtPropValues(String code);

    String getPropVid(String propid, Object text);

    String getExtPropValue(String attId, Object propValue);
}
